package com.java.service.impl;



import java.util.List;


import org.springframework.stereotype.Service;

import com.java.base.DaoSupportImpl;
import com.java.domain.RoleDo;
import com.java.service.RoleService;

@Service
public class RoleServiceImpl extends DaoSupportImpl<RoleDo> implements RoleService {

	public List<RoleDo> quyerRole(Integer uid) {
		return getSession().createQuery("from RoleDo where uid =:uid").setParameter("uid", uid).list();
	}
	
	

}
